# -*- coding: utf-8 -*-



import  wx
import  os
import sys

from gettext import gettext as _

     
from navigator import template
from navigator import dbbrowser
from navigator import generated
        
class NavPanel(wx.Notebook):
    def __init__(self,parent, size =(21,21) ):
        wx.Notebook.__init__(self, parent, -1, size=size,
                         style=
                         wx.NB_TOP #| wx.NB_MULTILINE 
                         #| wx.NB_BOTTOM
                         #| wx.NB_LEFT
                         #| wx.NB_RIGHT
                         )
        win = template.Template(self)
        self.AddPage(win, _(u'模版'))        
        win2 = generated.Generated(self)
        self.AddPage(win2, _(u'生成'))
        win3 = dbbrowser.DBBrowser(self)
        self.AddPage(win3, _(u'数据库'))        

